﻿//TODO: Implement and Test: Foerstner

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace LowLevelGraphics.Filter
{
    /// <summary>
    /// 
    /// </summary>
    public class Foerstner : BaseImageFilter
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Foerstner"/> class.
        /// </summary>
        public Foerstner()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Foerstner"/> class.
        /// </summary>
        /// <param name="_foerstner">The _foerstner.</param>
        internal Foerstner(Foerstner _foerstner)
        {
        }

        /// <summary>
        /// Execute this Filter
        /// A Debug Statement is written if a concrete Filter is called
        /// </summary>
        /// <param name="_bitmap"></param>
        /// <returns></returns>
        public override UnsafeBitmap Execute(UnsafeBitmap _bitmap)
        {
            base.Execute(_bitmap);
            return _bitmap;
        }

        /// <summary>
        /// This is used to clone a filter, each filter must implement it's own clone functionality
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            return new Foerstner(this);
        }
    }
}
